package com.personal.kousuan;

import com.personal.kousuan.domain.Question;
import com.personal.kousuan.factory.KouSuanGeneratorFactory;
import com.personal.kousuan.generator.KouSuanGenerator;

public class Test {

	public static void main(String[] args){
		KouSuanGenerator generator = KouSuanGeneratorFactory.getInstance().getRandomGenerator(KouSuanGeneratorFactory.GRADE1_SECOND_100_BUJIEWEI_MINUS_WHOLE_DOZEN);
		Question ti = generator.generateKouSuanTi();
		System.out.println("Ti = " + ti);
	}
}
